package com.sys.app.entity.util;

import java.util.ArrayList;

public class isArrayUtil {
    public static boolean isArray(Object obj) {
        return obj instanceof Object[] || obj instanceof boolean[] || obj instanceof byte[] ||
                obj instanceof char[] || obj instanceof double[] || obj instanceof float[] ||
                obj instanceof int[] || obj instanceof long[] || obj instanceof short[];
    }

    public static boolean isArrayList(Object obj) {
        return obj instanceof ArrayList;
    }
}
